package com.john.test.fictiongetter;

/**
 * @author jiangguangtao on 2016/9/13.
 */
public class FictionPager {
    private boolean isEnd = false;
    private String title;
    private String content;
    private String nextUrl;

    public FictionPager(String title, String content) {
        this.title = title;
        this.content = content;
    }

    public FictionPager(boolean isEnd) {
        this.isEnd = isEnd;
    }

    /**
     * Getter for property 'end'.
     *
     * @return Value for property 'end'.
     */
    public boolean isEnd() {
        return isEnd;
    }

    /**
     * Setter for property 'end'.
     *
     * @param end Value to set for property 'end'.
     */
    public void setEnd(boolean end) {
        isEnd = end;
    }

    /**
     * Getter for property 'title'.
     *
     * @return Value for property 'title'.
     */
    public String getTitle() {
        return title;
    }

    /**
     * Setter for property 'title'.
     *
     * @param title Value to set for property 'title'.
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * Getter for property 'content'.
     *
     * @return Value for property 'content'.
     */
    public String getContent() {
        return content;
    }

    /**
     * Setter for property 'content'.
     *
     * @param content Value to set for property 'content'.
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * Getter for property 'nextUrl'.
     *
     * @return Value for property 'nextUrl'.
     */
    public String getNextUrl() {
        return nextUrl;
    }

    /**
     * Setter for property 'nextUrl'.
     *
     * @param nextUrl Value to set for property 'nextUrl'.
     */
    public void setNextUrl(String nextUrl) {
        this.nextUrl = nextUrl;
    }

    @Override
    public String toString() {
        return "FictionPager{" +
                "isEnd=" + isEnd +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", nextUrl='" + nextUrl + '\'' +
                '}';
    }
}
